package com.jfl.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Select;

import com.jfl.base.BaseMapper;
import com.jfl.model.SysRole;

/**
 * <一句话功能简述>
 *  
 * @author  赵炎
 * @version  [V1.00, 2019年1月13日]
 * @see  [相关类/方法]
 * @since V1.00
 */
public interface SysRoleMapper extends BaseMapper<SysRole>
{
    List<Long> selectRolesByUserId(Long userId);
    
    @Select("select * from tbl_sys_role where role_name = #{roleName}")
    SysRole selectByRoleName(String roleName);
}
